package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 不良事件字典对象 bad_event
 * 
 * @author liuyangyang
 * @date 2025-05-29
 */
public class BadEvent extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long badId;

    /** 三方ID */
    @Excel(name = "三方ID")
    private String sourceId;

    /** 事件描述 */
    @Excel(name = "事件描述")
    private String badName;

    /** 0启用1禁用 */
    @Excel(name = "0启用1禁用")
    private Long status;

    /** 0正常1删除 */
    private Long delFlag;

    public void setBadId(Long badId) 
    {
        this.badId = badId;
    }

    public Long getBadId() 
    {
        return badId;
    }

    public void setSourceId(String sourceId) 
    {
        this.sourceId = sourceId;
    }

    public String getSourceId() 
    {
        return sourceId;
    }

    public void setBadName(String badName) 
    {
        this.badName = badName;
    }

    public String getBadName() 
    {
        return badName;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("badId", getBadId())
            .append("sourceId", getSourceId())
            .append("badName", getBadName())
            .append("parentId", getParentId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
